﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace Electronic_work_order.Model
{
    //职员请假申请表
    public class LeaveForm
    {
        [Key]
        // LeaveID 请假ID    自增 Int
        public int LeaveID { get; set; }
        //LeaveType 请假类别   
        public int Leave_Type_ID { get; set; }
        [ForeignKey("Leave_Type_ID")]
        public virtual Leave_Type  Leave_Type { get; set; }

        //Sex 性别  男，女 Char(2)
        public string Sex { get; set; }

        //请假时常
        public string AuditTime { get; set; }

        //LeaveMatter 请假事由        Varchar(300)
        public string LeaveMatter { get; set; }

        
    }
}






